/*--------------------------------------------------------------
 * File: uart.h 编码类型：C语言  UTF-8
 * Author WRS (1352509846@qq.com)
 * 功能: 串口读写函数
 * Version 0.1
 * Date 2024-09-27 
 * 
 * @copyright Copyright (c) 2024
 * 
----------------------------------------------------------------*/
#ifndef __UART_H__
#define __UART_H__

// 定义串口发送数据队列类型
typedef struct
{
    uint8_t COMx;
    uint8_t *buf;
    uint16_t len;
}uart_item_t;


void uart_Init(void);
void uart_DeInit(void);

void USART_Send(uint32_t COMx , uint8_t *buf , uint16_t length);

#endif

